package com.erp.erp_entitys.Bank;

import java.util.ArrayList;
import java.util.List;

public class BankEntityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BankEntityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBankcodeIsNull() {
            addCriterion("BankCode is null");
            return (Criteria) this;
        }

        public Criteria andBankcodeIsNotNull() {
            addCriterion("BankCode is not null");
            return (Criteria) this;
        }

        public Criteria andBankcodeEqualTo(String value) {
            addCriterion("BankCode =", value, "bankcode");
            return (Criteria) this;
        }

        public Criteria andBankcodeNotEqualTo(String value) {
            addCriterion("BankCode <>", value, "bankcode");
            return (Criteria) this;
        }

        public Criteria andBankcodeGreaterThan(String value) {
            addCriterion("BankCode >", value, "bankcode");
            return (Criteria) this;
        }

        public Criteria andBankcodeGreaterThanOrEqualTo(String value) {
            addCriterion("BankCode >=", value, "bankcode");
            return (Criteria) this;
        }

        public Criteria andBankcodeLessThan(String value) {
            addCriterion("BankCode <", value, "bankcode");
            return (Criteria) this;
        }

        public Criteria andBankcodeLessThanOrEqualTo(String value) {
            addCriterion("BankCode <=", value, "bankcode");
            return (Criteria) this;
        }

        public Criteria andBankcodeLike(String value) {
            addCriterion("BankCode like", value, "bankcode");
            return (Criteria) this;
        }

        public Criteria andBankcodeNotLike(String value) {
            addCriterion("BankCode not like", value, "bankcode");
            return (Criteria) this;
        }

        public Criteria andBankcodeIn(List<String> values) {
            addCriterion("BankCode in", values, "bankcode");
            return (Criteria) this;
        }

        public Criteria andBankcodeNotIn(List<String> values) {
            addCriterion("BankCode not in", values, "bankcode");
            return (Criteria) this;
        }

        public Criteria andBankcodeBetween(String value1, String value2) {
            addCriterion("BankCode between", value1, value2, "bankcode");
            return (Criteria) this;
        }

        public Criteria andBankcodeNotBetween(String value1, String value2) {
            addCriterion("BankCode not between", value1, value2, "bankcode");
            return (Criteria) this;
        }

        public Criteria andBanknameIsNull() {
            addCriterion("BankName is null");
            return (Criteria) this;
        }

        public Criteria andBanknameIsNotNull() {
            addCriterion("BankName is not null");
            return (Criteria) this;
        }

        public Criteria andBanknameEqualTo(String value) {
            addCriterion("BankName =", value, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameNotEqualTo(String value) {
            addCriterion("BankName <>", value, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameGreaterThan(String value) {
            addCriterion("BankName >", value, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameGreaterThanOrEqualTo(String value) {
            addCriterion("BankName >=", value, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameLessThan(String value) {
            addCriterion("BankName <", value, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameLessThanOrEqualTo(String value) {
            addCriterion("BankName <=", value, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameLike(String value) {
            addCriterion("BankName like", value, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameNotLike(String value) {
            addCriterion("BankName not like", value, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameIn(List<String> values) {
            addCriterion("BankName in", values, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameNotIn(List<String> values) {
            addCriterion("BankName not in", values, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameBetween(String value1, String value2) {
            addCriterion("BankName between", value1, value2, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameNotBetween(String value1, String value2) {
            addCriterion("BankName not between", value1, value2, "bankname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameIsNull() {
            addCriterion("EnglishName is null");
            return (Criteria) this;
        }

        public Criteria andEnglishnameIsNotNull() {
            addCriterion("EnglishName is not null");
            return (Criteria) this;
        }

        public Criteria andEnglishnameEqualTo(String value) {
            addCriterion("EnglishName =", value, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameNotEqualTo(String value) {
            addCriterion("EnglishName <>", value, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameGreaterThan(String value) {
            addCriterion("EnglishName >", value, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameGreaterThanOrEqualTo(String value) {
            addCriterion("EnglishName >=", value, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameLessThan(String value) {
            addCriterion("EnglishName <", value, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameLessThanOrEqualTo(String value) {
            addCriterion("EnglishName <=", value, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameLike(String value) {
            addCriterion("EnglishName like", value, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameNotLike(String value) {
            addCriterion("EnglishName not like", value, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameIn(List<String> values) {
            addCriterion("EnglishName in", values, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameNotIn(List<String> values) {
            addCriterion("EnglishName not in", values, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameBetween(String value1, String value2) {
            addCriterion("EnglishName between", value1, value2, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameNotBetween(String value1, String value2) {
            addCriterion("EnglishName not between", value1, value2, "englishname");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("Address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("Address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("Address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("Address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("Address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("Address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("Address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("Address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("Address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("Address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("Address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("Address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("Address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("Address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressIsNull() {
            addCriterion("EnglishAddress is null");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressIsNotNull() {
            addCriterion("EnglishAddress is not null");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressEqualTo(String value) {
            addCriterion("EnglishAddress =", value, "englishaddress");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressNotEqualTo(String value) {
            addCriterion("EnglishAddress <>", value, "englishaddress");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressGreaterThan(String value) {
            addCriterion("EnglishAddress >", value, "englishaddress");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressGreaterThanOrEqualTo(String value) {
            addCriterion("EnglishAddress >=", value, "englishaddress");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressLessThan(String value) {
            addCriterion("EnglishAddress <", value, "englishaddress");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressLessThanOrEqualTo(String value) {
            addCriterion("EnglishAddress <=", value, "englishaddress");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressLike(String value) {
            addCriterion("EnglishAddress like", value, "englishaddress");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressNotLike(String value) {
            addCriterion("EnglishAddress not like", value, "englishaddress");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressIn(List<String> values) {
            addCriterion("EnglishAddress in", values, "englishaddress");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressNotIn(List<String> values) {
            addCriterion("EnglishAddress not in", values, "englishaddress");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressBetween(String value1, String value2) {
            addCriterion("EnglishAddress between", value1, value2, "englishaddress");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressNotBetween(String value1, String value2) {
            addCriterion("EnglishAddress not between", value1, value2, "englishaddress");
            return (Criteria) this;
        }

        public Criteria andSwiftnoIsNull() {
            addCriterion("SwiftNo is null");
            return (Criteria) this;
        }

        public Criteria andSwiftnoIsNotNull() {
            addCriterion("SwiftNo is not null");
            return (Criteria) this;
        }

        public Criteria andSwiftnoEqualTo(String value) {
            addCriterion("SwiftNo =", value, "swiftno");
            return (Criteria) this;
        }

        public Criteria andSwiftnoNotEqualTo(String value) {
            addCriterion("SwiftNo <>", value, "swiftno");
            return (Criteria) this;
        }

        public Criteria andSwiftnoGreaterThan(String value) {
            addCriterion("SwiftNo >", value, "swiftno");
            return (Criteria) this;
        }

        public Criteria andSwiftnoGreaterThanOrEqualTo(String value) {
            addCriterion("SwiftNo >=", value, "swiftno");
            return (Criteria) this;
        }

        public Criteria andSwiftnoLessThan(String value) {
            addCriterion("SwiftNo <", value, "swiftno");
            return (Criteria) this;
        }

        public Criteria andSwiftnoLessThanOrEqualTo(String value) {
            addCriterion("SwiftNo <=", value, "swiftno");
            return (Criteria) this;
        }

        public Criteria andSwiftnoLike(String value) {
            addCriterion("SwiftNo like", value, "swiftno");
            return (Criteria) this;
        }

        public Criteria andSwiftnoNotLike(String value) {
            addCriterion("SwiftNo not like", value, "swiftno");
            return (Criteria) this;
        }

        public Criteria andSwiftnoIn(List<String> values) {
            addCriterion("SwiftNo in", values, "swiftno");
            return (Criteria) this;
        }

        public Criteria andSwiftnoNotIn(List<String> values) {
            addCriterion("SwiftNo not in", values, "swiftno");
            return (Criteria) this;
        }

        public Criteria andSwiftnoBetween(String value1, String value2) {
            addCriterion("SwiftNo between", value1, value2, "swiftno");
            return (Criteria) this;
        }

        public Criteria andSwiftnoNotBetween(String value1, String value2) {
            addCriterion("SwiftNo not between", value1, value2, "swiftno");
            return (Criteria) this;
        }

        public Criteria andBankaccountIsNull() {
            addCriterion("BankAccount is null");
            return (Criteria) this;
        }

        public Criteria andBankaccountIsNotNull() {
            addCriterion("BankAccount is not null");
            return (Criteria) this;
        }

        public Criteria andBankaccountEqualTo(String value) {
            addCriterion("BankAccount =", value, "bankaccount");
            return (Criteria) this;
        }

        public Criteria andBankaccountNotEqualTo(String value) {
            addCriterion("BankAccount <>", value, "bankaccount");
            return (Criteria) this;
        }

        public Criteria andBankaccountGreaterThan(String value) {
            addCriterion("BankAccount >", value, "bankaccount");
            return (Criteria) this;
        }

        public Criteria andBankaccountGreaterThanOrEqualTo(String value) {
            addCriterion("BankAccount >=", value, "bankaccount");
            return (Criteria) this;
        }

        public Criteria andBankaccountLessThan(String value) {
            addCriterion("BankAccount <", value, "bankaccount");
            return (Criteria) this;
        }

        public Criteria andBankaccountLessThanOrEqualTo(String value) {
            addCriterion("BankAccount <=", value, "bankaccount");
            return (Criteria) this;
        }

        public Criteria andBankaccountLike(String value) {
            addCriterion("BankAccount like", value, "bankaccount");
            return (Criteria) this;
        }

        public Criteria andBankaccountNotLike(String value) {
            addCriterion("BankAccount not like", value, "bankaccount");
            return (Criteria) this;
        }

        public Criteria andBankaccountIn(List<String> values) {
            addCriterion("BankAccount in", values, "bankaccount");
            return (Criteria) this;
        }

        public Criteria andBankaccountNotIn(List<String> values) {
            addCriterion("BankAccount not in", values, "bankaccount");
            return (Criteria) this;
        }

        public Criteria andBankaccountBetween(String value1, String value2) {
            addCriterion("BankAccount between", value1, value2, "bankaccount");
            return (Criteria) this;
        }

        public Criteria andBankaccountNotBetween(String value1, String value2) {
            addCriterion("BankAccount not between", value1, value2, "bankaccount");
            return (Criteria) this;
        }

        public Criteria andBankaccountNameIsNull() {
            addCriterion("BankAccount_Name is null");
            return (Criteria) this;
        }

        public Criteria andBankaccountNameIsNotNull() {
            addCriterion("BankAccount_Name is not null");
            return (Criteria) this;
        }

        public Criteria andBankaccountNameEqualTo(String value) {
            addCriterion("BankAccount_Name =", value, "bankaccountName");
            return (Criteria) this;
        }

        public Criteria andBankaccountNameNotEqualTo(String value) {
            addCriterion("BankAccount_Name <>", value, "bankaccountName");
            return (Criteria) this;
        }

        public Criteria andBankaccountNameGreaterThan(String value) {
            addCriterion("BankAccount_Name >", value, "bankaccountName");
            return (Criteria) this;
        }

        public Criteria andBankaccountNameGreaterThanOrEqualTo(String value) {
            addCriterion("BankAccount_Name >=", value, "bankaccountName");
            return (Criteria) this;
        }

        public Criteria andBankaccountNameLessThan(String value) {
            addCriterion("BankAccount_Name <", value, "bankaccountName");
            return (Criteria) this;
        }

        public Criteria andBankaccountNameLessThanOrEqualTo(String value) {
            addCriterion("BankAccount_Name <=", value, "bankaccountName");
            return (Criteria) this;
        }

        public Criteria andBankaccountNameLike(String value) {
            addCriterion("BankAccount_Name like", value, "bankaccountName");
            return (Criteria) this;
        }

        public Criteria andBankaccountNameNotLike(String value) {
            addCriterion("BankAccount_Name not like", value, "bankaccountName");
            return (Criteria) this;
        }

        public Criteria andBankaccountNameIn(List<String> values) {
            addCriterion("BankAccount_Name in", values, "bankaccountName");
            return (Criteria) this;
        }

        public Criteria andBankaccountNameNotIn(List<String> values) {
            addCriterion("BankAccount_Name not in", values, "bankaccountName");
            return (Criteria) this;
        }

        public Criteria andBankaccountNameBetween(String value1, String value2) {
            addCriterion("BankAccount_Name between", value1, value2, "bankaccountName");
            return (Criteria) this;
        }

        public Criteria andBankaccountNameNotBetween(String value1, String value2) {
            addCriterion("BankAccount_Name not between", value1, value2, "bankaccountName");
            return (Criteria) this;
        }

        public Criteria andCurrencyIsNull() {
            addCriterion("currency is null");
            return (Criteria) this;
        }

        public Criteria andCurrencyIsNotNull() {
            addCriterion("currency is not null");
            return (Criteria) this;
        }

        public Criteria andCurrencyEqualTo(String value) {
            addCriterion("currency =", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotEqualTo(String value) {
            addCriterion("currency <>", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyGreaterThan(String value) {
            addCriterion("currency >", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyGreaterThanOrEqualTo(String value) {
            addCriterion("currency >=", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyLessThan(String value) {
            addCriterion("currency <", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyLessThanOrEqualTo(String value) {
            addCriterion("currency <=", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyLike(String value) {
            addCriterion("currency like", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotLike(String value) {
            addCriterion("currency not like", value, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyIn(List<String> values) {
            addCriterion("currency in", values, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotIn(List<String> values) {
            addCriterion("currency not in", values, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyBetween(String value1, String value2) {
            addCriterion("currency between", value1, value2, "currency");
            return (Criteria) this;
        }

        public Criteria andCurrencyNotBetween(String value1, String value2) {
            addCriterion("currency not between", value1, value2, "currency");
            return (Criteria) this;
        }

        public Criteria andForBusinessIsNull() {
            addCriterion("for_business is null");
            return (Criteria) this;
        }

        public Criteria andForBusinessIsNotNull() {
            addCriterion("for_business is not null");
            return (Criteria) this;
        }

        public Criteria andForBusinessEqualTo(Integer value) {
            addCriterion("for_business =", value, "forBusiness");
            return (Criteria) this;
        }

        public Criteria andForBusinessNotEqualTo(Integer value) {
            addCriterion("for_business <>", value, "forBusiness");
            return (Criteria) this;
        }

        public Criteria andForBusinessGreaterThan(Integer value) {
            addCriterion("for_business >", value, "forBusiness");
            return (Criteria) this;
        }

        public Criteria andForBusinessGreaterThanOrEqualTo(Integer value) {
            addCriterion("for_business >=", value, "forBusiness");
            return (Criteria) this;
        }

        public Criteria andForBusinessLessThan(Integer value) {
            addCriterion("for_business <", value, "forBusiness");
            return (Criteria) this;
        }

        public Criteria andForBusinessLessThanOrEqualTo(Integer value) {
            addCriterion("for_business <=", value, "forBusiness");
            return (Criteria) this;
        }

        public Criteria andForBusinessIn(List<Integer> values) {
            addCriterion("for_business in", values, "forBusiness");
            return (Criteria) this;
        }

        public Criteria andForBusinessNotIn(List<Integer> values) {
            addCriterion("for_business not in", values, "forBusiness");
            return (Criteria) this;
        }

        public Criteria andForBusinessBetween(Integer value1, Integer value2) {
            addCriterion("for_business between", value1, value2, "forBusiness");
            return (Criteria) this;
        }

        public Criteria andForBusinessNotBetween(Integer value1, Integer value2) {
            addCriterion("for_business not between", value1, value2, "forBusiness");
            return (Criteria) this;
        }

        public Criteria andForBillingIsNull() {
            addCriterion("for_billing is null");
            return (Criteria) this;
        }

        public Criteria andForBillingIsNotNull() {
            addCriterion("for_billing is not null");
            return (Criteria) this;
        }

        public Criteria andForBillingEqualTo(Integer value) {
            addCriterion("for_billing =", value, "forBilling");
            return (Criteria) this;
        }

        public Criteria andForBillingNotEqualTo(Integer value) {
            addCriterion("for_billing <>", value, "forBilling");
            return (Criteria) this;
        }

        public Criteria andForBillingGreaterThan(Integer value) {
            addCriterion("for_billing >", value, "forBilling");
            return (Criteria) this;
        }

        public Criteria andForBillingGreaterThanOrEqualTo(Integer value) {
            addCriterion("for_billing >=", value, "forBilling");
            return (Criteria) this;
        }

        public Criteria andForBillingLessThan(Integer value) {
            addCriterion("for_billing <", value, "forBilling");
            return (Criteria) this;
        }

        public Criteria andForBillingLessThanOrEqualTo(Integer value) {
            addCriterion("for_billing <=", value, "forBilling");
            return (Criteria) this;
        }

        public Criteria andForBillingIn(List<Integer> values) {
            addCriterion("for_billing in", values, "forBilling");
            return (Criteria) this;
        }

        public Criteria andForBillingNotIn(List<Integer> values) {
            addCriterion("for_billing not in", values, "forBilling");
            return (Criteria) this;
        }

        public Criteria andForBillingBetween(Integer value1, Integer value2) {
            addCriterion("for_billing between", value1, value2, "forBilling");
            return (Criteria) this;
        }

        public Criteria andForBillingNotBetween(Integer value1, Integer value2) {
            addCriterion("for_billing not between", value1, value2, "forBilling");
            return (Criteria) this;
        }

        public Criteria andForCustomsdeclarationIsNull() {
            addCriterion("for_CustomsDeclaration is null");
            return (Criteria) this;
        }

        public Criteria andForCustomsdeclarationIsNotNull() {
            addCriterion("for_CustomsDeclaration is not null");
            return (Criteria) this;
        }

        public Criteria andForCustomsdeclarationEqualTo(Integer value) {
            addCriterion("for_CustomsDeclaration =", value, "forCustomsdeclaration");
            return (Criteria) this;
        }

        public Criteria andForCustomsdeclarationNotEqualTo(Integer value) {
            addCriterion("for_CustomsDeclaration <>", value, "forCustomsdeclaration");
            return (Criteria) this;
        }

        public Criteria andForCustomsdeclarationGreaterThan(Integer value) {
            addCriterion("for_CustomsDeclaration >", value, "forCustomsdeclaration");
            return (Criteria) this;
        }

        public Criteria andForCustomsdeclarationGreaterThanOrEqualTo(Integer value) {
            addCriterion("for_CustomsDeclaration >=", value, "forCustomsdeclaration");
            return (Criteria) this;
        }

        public Criteria andForCustomsdeclarationLessThan(Integer value) {
            addCriterion("for_CustomsDeclaration <", value, "forCustomsdeclaration");
            return (Criteria) this;
        }

        public Criteria andForCustomsdeclarationLessThanOrEqualTo(Integer value) {
            addCriterion("for_CustomsDeclaration <=", value, "forCustomsdeclaration");
            return (Criteria) this;
        }

        public Criteria andForCustomsdeclarationIn(List<Integer> values) {
            addCriterion("for_CustomsDeclaration in", values, "forCustomsdeclaration");
            return (Criteria) this;
        }

        public Criteria andForCustomsdeclarationNotIn(List<Integer> values) {
            addCriterion("for_CustomsDeclaration not in", values, "forCustomsdeclaration");
            return (Criteria) this;
        }

        public Criteria andForCustomsdeclarationBetween(Integer value1, Integer value2) {
            addCriterion("for_CustomsDeclaration between", value1, value2, "forCustomsdeclaration");
            return (Criteria) this;
        }

        public Criteria andForCustomsdeclarationNotBetween(Integer value1, Integer value2) {
            addCriterion("for_CustomsDeclaration not between", value1, value2, "forCustomsdeclaration");
            return (Criteria) this;
        }

        public Criteria andDefaultbusinessuseIsNull() {
            addCriterion("DefaultBusinessUse is null");
            return (Criteria) this;
        }

        public Criteria andDefaultbusinessuseIsNotNull() {
            addCriterion("DefaultBusinessUse is not null");
            return (Criteria) this;
        }

        public Criteria andDefaultbusinessuseEqualTo(Integer value) {
            addCriterion("DefaultBusinessUse =", value, "defaultbusinessuse");
            return (Criteria) this;
        }

        public Criteria andDefaultbusinessuseNotEqualTo(Integer value) {
            addCriterion("DefaultBusinessUse <>", value, "defaultbusinessuse");
            return (Criteria) this;
        }

        public Criteria andDefaultbusinessuseGreaterThan(Integer value) {
            addCriterion("DefaultBusinessUse >", value, "defaultbusinessuse");
            return (Criteria) this;
        }

        public Criteria andDefaultbusinessuseGreaterThanOrEqualTo(Integer value) {
            addCriterion("DefaultBusinessUse >=", value, "defaultbusinessuse");
            return (Criteria) this;
        }

        public Criteria andDefaultbusinessuseLessThan(Integer value) {
            addCriterion("DefaultBusinessUse <", value, "defaultbusinessuse");
            return (Criteria) this;
        }

        public Criteria andDefaultbusinessuseLessThanOrEqualTo(Integer value) {
            addCriterion("DefaultBusinessUse <=", value, "defaultbusinessuse");
            return (Criteria) this;
        }

        public Criteria andDefaultbusinessuseIn(List<Integer> values) {
            addCriterion("DefaultBusinessUse in", values, "defaultbusinessuse");
            return (Criteria) this;
        }

        public Criteria andDefaultbusinessuseNotIn(List<Integer> values) {
            addCriterion("DefaultBusinessUse not in", values, "defaultbusinessuse");
            return (Criteria) this;
        }

        public Criteria andDefaultbusinessuseBetween(Integer value1, Integer value2) {
            addCriterion("DefaultBusinessUse between", value1, value2, "defaultbusinessuse");
            return (Criteria) this;
        }

        public Criteria andDefaultbusinessuseNotBetween(Integer value1, Integer value2) {
            addCriterion("DefaultBusinessUse not between", value1, value2, "defaultbusinessuse");
            return (Criteria) this;
        }

        public Criteria andStopuseIsNull() {
            addCriterion("StopUse is null");
            return (Criteria) this;
        }

        public Criteria andStopuseIsNotNull() {
            addCriterion("StopUse is not null");
            return (Criteria) this;
        }

        public Criteria andStopuseEqualTo(Integer value) {
            addCriterion("StopUse =", value, "stopuse");
            return (Criteria) this;
        }

        public Criteria andStopuseNotEqualTo(Integer value) {
            addCriterion("StopUse <>", value, "stopuse");
            return (Criteria) this;
        }

        public Criteria andStopuseGreaterThan(Integer value) {
            addCriterion("StopUse >", value, "stopuse");
            return (Criteria) this;
        }

        public Criteria andStopuseGreaterThanOrEqualTo(Integer value) {
            addCriterion("StopUse >=", value, "stopuse");
            return (Criteria) this;
        }

        public Criteria andStopuseLessThan(Integer value) {
            addCriterion("StopUse <", value, "stopuse");
            return (Criteria) this;
        }

        public Criteria andStopuseLessThanOrEqualTo(Integer value) {
            addCriterion("StopUse <=", value, "stopuse");
            return (Criteria) this;
        }

        public Criteria andStopuseIn(List<Integer> values) {
            addCriterion("StopUse in", values, "stopuse");
            return (Criteria) this;
        }

        public Criteria andStopuseNotIn(List<Integer> values) {
            addCriterion("StopUse not in", values, "stopuse");
            return (Criteria) this;
        }

        public Criteria andStopuseBetween(Integer value1, Integer value2) {
            addCriterion("StopUse between", value1, value2, "stopuse");
            return (Criteria) this;
        }

        public Criteria andStopuseNotBetween(Integer value1, Integer value2) {
            addCriterion("StopUse not between", value1, value2, "stopuse");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeIsNull() {
            addCriterion("company_code is null");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeIsNotNull() {
            addCriterion("company_code is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeEqualTo(String value) {
            addCriterion("company_code =", value, "companyCode");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeNotEqualTo(String value) {
            addCriterion("company_code <>", value, "companyCode");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeGreaterThan(String value) {
            addCriterion("company_code >", value, "companyCode");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeGreaterThanOrEqualTo(String value) {
            addCriterion("company_code >=", value, "companyCode");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeLessThan(String value) {
            addCriterion("company_code <", value, "companyCode");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeLessThanOrEqualTo(String value) {
            addCriterion("company_code <=", value, "companyCode");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeLike(String value) {
            addCriterion("company_code like", value, "companyCode");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeNotLike(String value) {
            addCriterion("company_code not like", value, "companyCode");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeIn(List<String> values) {
            addCriterion("company_code in", values, "companyCode");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeNotIn(List<String> values) {
            addCriterion("company_code not in", values, "companyCode");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeBetween(String value1, String value2) {
            addCriterion("company_code between", value1, value2, "companyCode");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeNotBetween(String value1, String value2) {
            addCriterion("company_code not between", value1, value2, "companyCode");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}